package tp_lab1_liczba;

import static org.junit.Assert.*;
import junit.framework.Assert;

import org.junit.Test;

/**Some tests for class Liczba, using JUnit 4*/
public class LiczbaTest2 {
	
	@Test(expected = WrongNumberException.class)
	public void testException() throws WrongNumberException {
		Liczba.result(100, 32);
	};
	
	@Test
	public void testNrOne() throws WrongNumberException {
		assertEquals("1010", Liczba.result(10, 2));
	}
}
